from datetime import datetime

class machine:
    def __init__(self,status):
        self.status=status

    def open(self):
        self.status=1

    def close(self):
        self.status=0

    def breakdown(self):
        print("Breakdown")

class Water:
    def __init__(self,volume,temperature):
        self.volume=volume
        self.temperature=temperature

    def check(self):
        if self.volume>0:
            return True
        return False
if __name__ == '__main__':
    current_time = datetime.now()
    time_part = current_time.time().hour # 提取时间
    machine1 = machine(0)
    volume,temperature = input().split()
    volume=int(volume)
    temperature=int(temperature)
    Water = Water(volume,temperature)
    while True:
        if time_part == 7 :
            if Water.check() and Water.temperature<20:
                machine1.open()
            else:
                machine1.close()

        if Water.temperature == 100:
            machine1.close()

        if time_part == 23 :
            machine1.close()
            break

        if machine1.status==2:
            machine1.breakdown()
            break
